﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ClassLibrary
{
    class ChatCollection
    {
        private List<Chat> chatList = new List<Chat>();
        public Chat CreateChat(string cpr, string sender, string receiver, string message, DateTime dato)
        {
            Chat newChat = new Chat(cpr, sender, receiver, message, dato);
            chatList.Add(newChat);
            return newChat;
        }


        private List<Content> contentList = new List<Content>();
        public Content CreateContent(string headline, string description, string filename)
        {
            Content newContent = new Content(headline, description, filename);
            contentList.Add(newContent);
            return newContent;
        }
    }
}
